#NOTE:  There appear to be problems with g++ on Solaris when optimizing
#however, CC seems to work fine.
CC = g++
#CC = CC
OPT = -O2 #optimized
#OPT = -g #debug

sha2test : sha2test.o sha2.o
	$(CC) $(OPT) -o sha2test sha2test.o sha2.o

sha2test.o : sha2test.cpp
	$(CC) $(OPT) -c sha2test.cpp

sha2.o : sha2.cpp
	$(CC) $(OPT) -c sha2.cpp

clean :
	rm -f sha2test sha2test.o sha2.o core
